
export const typeRemark =[
{"type":"html","remark":"绑定为标签里的内容","elProps":"document.getElementById(el).innerHTML"},
{"type":"text","remark":"绑定为标签里的文本内容","elProps":"document.getElementById(el).textContent设置,<br>主要用于按钮元素的文本内容,<br>textContent在IE8及以下版本中不可用."},
{"type":"value","remark":"绑定input标签的 value","elProps":"document.getElementById(el).value "},
{"type":"class","remark":"绑定标签的 css class","elProps":"document.getElementById(el).className"},
{"type":"href","remark":"绑定标签的 href","elProps":"document.getElementById(el).setAttribute"},
{"type":"checked","remark":"绑定标签的 checked","elProps":"document.getElementById(el).setAttribute"},
{"type":"src","remark":"绑定标签的 src","elProps":"document.getElementById(el).setAttribute"},
{"type":"title","remark":"绑定标签的 title","elProps":"document.getElementById(el).setAttribute"},
{"type":"data-*","remark":"绑定标签的自定义数据 data-*","elProps":"document.getElementById(el).setAttribute（data-*，）"},
{"type":"style-*","remark":"绑定标签的style，* 代表css 属性 style-color 对应 css color","elProps":"document.getElementById(el).style[*]"},
{"type":"radio-group","remark":"绑定相同name 的 input type='radio' 的value","elProps":"遍历成员 ，获取成员checked 为true 的value"},
{"type":"checkbox-group","remark":"绑定相同name 的 input type='checkbox' 的value，对象的属性的类型是数组","elProps":"遍历成员 ，push成员checked 为true的value"},
{"type":"select","remark":"绑定select标签的  value","elProps":"document.getElementById(el).value "}
];

export const tableCfg =[
    {"title": "type", "keys": {data: "type"} ,width:0.5},
    {"title": "含义", "keys": {data: "remark"}, width:2},
    {"title": "对应el属性及说明", "keys": {data: "elProps"}, width:3}
];